package com.futurelight.recipes.model;

import com.google.gson.annotations.SerializedName;


import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class Result implements Serializable {
    @SerializedName("aggregateLikes")
    public int aggregateLikes;
    @SerializedName("extendedIngredients")
    public List<ExtendedIngredient> extendedIngredients;
    @SerializedName("id")
    public int id;
    @SerializedName("image")
    public String image;
    @SerializedName("preparationMinutes")
    public int preparationMinutes;
    @SerializedName("readyInMinutes")
    public int readyInMinutes;
    @SerializedName("summary")
    public String summary;
    @SerializedName("title")
    public String title;

    public int getAggregateLikes() {
        return aggregateLikes;
    }

    public void setAggregateLikes(int aggregateLikes) {
        this.aggregateLikes = aggregateLikes;
    }

    public List<ExtendedIngredient> getExtendedIngredients() {
        return extendedIngredients;
    }

    public void setExtendedIngredients(List<ExtendedIngredient> extendedIngredients) {
        this.extendedIngredients = extendedIngredients;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public int getPreparationMinutes() {
        return preparationMinutes;
    }

    public void setPreparationMinutes(int preparationMinutes) {
        this.preparationMinutes = preparationMinutes;
    }

    public int getReadyInMinutes() {
        return readyInMinutes;
    }

    public void setReadyInMinutes(int readyInMinutes) {
        this.readyInMinutes = readyInMinutes;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    public String toString() {
        return "Result{" +
                "aggregateLikes=" + aggregateLikes +
                ", extendedIngredients=" + extendedIngredients +
                ", id=" + id +
                ", image='" + image + '\'' +
                ", preparationMinutes=" + preparationMinutes +
                ", readyInMinutes=" + readyInMinutes +
                ", summary='" + summary + '\'' +
                ", title='" + title + '\'' +
                '}';
    }
}
